package com.juefeng.SMS.listener.init;

import javax.servlet.ServletContextEvent;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

import com.juefeng.SMS.listener.init.memery.SMSconfigMemery;

public class InitService {
	
	private static Log log = LogFactory.getLog(InitService.class);
	private static InitService initService = new InitService();
	
	private InitService(){
		
	}
	public static InitService getInitService(){
		return initService;
	}
	
	
	public void init(ServletContextEvent enent){
		log.info("---------------- init start ------------------");
		SMSconfigMemery.getSMSconfigMemery().addSMSConfigMemery(enent);
		log.info("---------------- init end ------------------");
	}
}
